package com.jiangnan.entity

import java.time.LocalDateTime

data class CommentResponse(
  val id: Long,
  val userId: Long,
  val userAvatar: String,
  val userNickname: String,
  val parentId: Long?,         // null = 根评论
  val toUserId: Long?,         // null = 根评论
  val toUserNickname: String?, // null = 根评论
  val content: String,
  val createdAt: String,       // ISO 格式 "yyyy-MM-ddTHH:mm:ss"
  val replies: List<CommentResponse>
)